# -*- coding: utf-8 -*-
"""
Spyder Editor

This is a temporary script file.
"""
""" 字符串日期转换为易读的日期格式 """

import demjson

data = [ { 'a' : 1, 'b' : 2, 'c' : 3, 'd' : 4, 'e' : 5 } ]

json = demjson.encode(data)

print json

text = demjson.decode(json)

print text
print text['d']

str = "djkldfgfgf"
b = str.upper()
print b.lower()

i = ['a', 'b']
l = [1, 2]
print dict([i,l])
print zip(i,l)
